package com.rc.evcharger.service.enterprise;

import com.rc.evcharger.mapper.enterprise.EnterpriseMemberMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * Created by sven on 2019/09/23.
 */
@Service
public class EnterpriseMemberServiceImpl implements EnterpriseMemberService {

	@Autowired
    private EnterpriseMemberMapper enterpriseMemberMapper;

    @Override
    public EnterpriseMemberMapper getMapper() {
       return enterpriseMemberMapper;
    }

    /**
     * 查询企业会员类型
     * @param subMemberId
     * @return
     */
    @Override
    public String queryEnterpriseTypeBySubMember(Long subMemberId) {
        return enterpriseMemberMapper.selectEnterpriseTypeBySubMember(subMemberId);
    }
}
